package com.example.certificate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.certificate.entity.SysRouterAuth;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hao
 * @since 2022-02-16 13:03:10
 */
public interface SysRouterAuthService extends IService<SysRouterAuth> {
    /**
     * @Author Hao
     * @Description  写入路由权限操作
     * @Date 2022/1/2
     * @Param [auth, routerId]
     * @return java.lang.Boolean
     **/
    List<SysRouterAuth> setRouterAuth(List<String> auth, String routerId);

    /**
     * @Author Hao
     * @Description  根据路由id获取权限信息
     * @Date 2022/1/5
     * @Param [routerId]
     * @return java.util.List<java.lang.String>
     **/
    List<String> getRouterAuth(String routerId);
}
